<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8" />
	<title>网上花店</title>

</head>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./font/iconfont.css">
<link rel="stylesheet" href="./js/swiper-3.4.2.min.css">
<link rel="stylesheet" href="./css/swiper.css">
<link rel="stylesheet" href="./js/animate.min.css">
<link rel="stylesheet" href="./js/layui.css">
<link rel="stylesheet" href="./css/card.css">
<body>
	<div class="top-bar">
		<div class="banner">
			<span class="left">欢迎访问在线商城</span>
			<span class="right">
        <a href="#" id="search"><i class="iconfont icon-search"></i></a>
        <a href="./card.html"><i class="iconfont icon-cart"></i></a>
        <a href="./login.html"><i class="iconfont icon-user"></i></a>
      </span>
		</div>
		<div class="searchBox">
			<div class="layui-form-item" style="margin: 0;">
				<div class="layui-input-block flex-box" style="margin: 0;">
					<input type="text" name="title" required lay-verify="required" placeholder="请输入关键字" autocomplete="off"
						class="layui-input">
					<button onclick="redirect()" class="layui-btn layui-btn-normal" style="margin-left: 10px;">搜索</button>
				</div>
			</div>
		</div>
	</div>
	<header>
		<ul class="nav">
			<li><i class="iconfont icon-shouye" style="font-size: 20px;"></i><a href="./index.html">商城首页</a></li>
			<li><i class="iconfont icon-suoyou" style="font-size: 20px;"></i><a href="./all.html">所有商品</a></li>
			<li><i class="iconfont icon-liuyanpinglun" style="font-size: 20px;"></i><a href="./leave_message.html">留言</a></li>
			<li><i class="iconfont icon-guanyu" style="font-size: 20px;"></i><a href="./diary.html">养花日记</a></li>
			<!-- <li><i class="iconfont icon-liuyanpinglun"></i><a href="#">待定</a></li> -->
		</ul>
	</header>



	<div class="container">
		<div class="pro-bar">
			<div class="sel"></div>
			<div class="pro-name">商品信息</div>
			<div class="pro-price">单价</div>
			<div class="pro-num">数量</div>
			<div class="pro-method">操作</div>
		</div>
		<div class="pro">
			<div class="sel" style="background-color: #fff;"><img src="./img/new-flower/24.webp" alt="ddd"></div>
			<div class="pro-name">植物花卉2</div>
			<div class="pro-price">￥ 5900</div>
			<div class="pro-num">1</div>
			<div class="pro-method">
				<button class="btn">删除</button>
			</div>
		</div>
		<ul class="goods-list">

		</ul>
		<div class="none">
			<p>你的购物车是空的</p>
			<div class="back">
				<a href="./all.html">
					<i class="iconfont icon-fangxiangsanjiao-xiangzuo"></i> 返回商店
				</a> 
			</div>
		</div>
	</div>


  <footer style="height: 100px; background: #757575;margin-top: 20px;">

		<div class="display">
			<img src="./img/插画/1.png" alt="www" width="80px" height="80px">
			<div class="contact">
				<span>邮箱：56623265564@qq.com</span>
				<span>电话：400 6666 6666</span>
			</div>
			<img src="./img/插画/3.png" alt="www" width="80px" height="80px">
		</div>
		<!-- <div class="welcome">
			欢迎访问在线商城
		</div> -->
		<!-- <div class="profile">
			<p>本店销售各种植物花卉，如向日葵、百合、菊花、玫瑰、白百合、红玫瑰、牡丹、雏菊、郁金香、月季、康乃馨......可预订和在线购买。</p>
		</div> -->
	</footer>
	<!-- Swiper JS -->
	<script src="./js/swiper-3.4.2.min.js"></script>
	<script src="js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>

	<script src="./js/wow.min.js"></script>
	<script src="./js/layui.js"></script>
	<!-- Initialize Swiper -->
	<script>
		new WOW().init();
		var swiper = new Swiper('.swiper-container', {
			loop: true,
			autoplay: 5000
		});
		$("#search").click(function (e) {

			$(".searchBox").toggle(500)
		})
		// $("body").click(function() {
		// 	$(".searchBox").hide(500)
		// })
		function redirect() {
			console.log("跳转");
			window.location.replace("./all.html");

		}
	</script>
</body>

</html>